package org.jeecg.modules.fk.service;

import org.jeecg.modules.fk.vo.req.TaxpayerDto;
import org.jeecg.modules.fk.properties.TaxProperties;
import org.jeecg.modules.fk.service.call.FkBszsApiBaseCall;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class TaxpayerInfoService {
    @Resource
    private TaxProperties bszsProperties;

    @Autowired
    private FkBszsApiBaseCall fkBszsApiBaseCall;

    public String getOne(TaxpayerDto req) {
        return  this.fkBszsApiBaseCall.postJsonParamReturnOneLevelCall(true, "用户主要信息查询生成日志记录",null,bszsProperties.getDjNsrzyxxUrl(), null, req);
    }
}
